<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$idcategoria = $_GET['idcategoria'];
if ($idcategoria != "") {
    include_once("../control/ControlCategoria.php");
    $cCategoria = new ControlCategoria();
    $cCategoria->getValor($idcategoria);
    $ValorCat = $_SESSION['ValorCat'];
?>
    <label for="catvalor">Valor:</label>
    <input type="text" readonly="readonly" id="catvalor" name="catvalor" value="<?php echo $ValorCat ?>"/>

<?php
} else {
?>
    <label for="catvalor">Valor:</label>
    <input type="text" readonly="readonly" id="catvalor" name="catvalor"/>
<?php
}
?>

